projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d699a7a
)
(code_convert_region): Update `dst' correctly.
author
Kenichi Handa
<handa@m17n.org>
Fri, 29 Oct 1999 00:46:20 +0000
(
00:46
+0000)
committer
Kenichi Handa
<handa@m17n.org>
Fri, 29 Oct 1999 00:46:20 +0000
(
00:46
+0000)
src/ChangeLog
patch
|
blob
|
history
src/coding.c
patch
|
blob
|
history
diff --git
a/src/ChangeLog
b/src/ChangeLog
index 350307c3e6baba8da7e86eaa5efb48d9f5fc86a5..234d50b4dd99cfe5bde57028c86b4a69e303c5b7 100644
(file)
--- a/
src/ChangeLog
+++ b/
src/ChangeLog
@@
-1,3
+1,7
@@
+1999-10-29 Kenichi Handa <handa@etl.go.jp>
+
+ * coding.c (code_convert_region): Update `dst' correctly.
+
1999-10-28 Richard M. Stallman <rms@caffeine.ai.mit.edu>
* regex.c (POP_FAILURE_POINT): Use failure_id.integer
diff --git
a/src/coding.c
b/src/coding.c
index 1e75be5ab6f422d2e630ab60b0c2e2bdb76a50a4..c5dfd2102d00a03f92b08d1ebc9211b98cbabc00 100644
(file)
--- a/
src/coding.c
+++ b/
src/coding.c
@@
-4496,7
+4496,7
@@
code_convert_region (from, from_byte, to, to_byte, coding, encodep, replace)
inserted_byte += coding->produced;
len_byte -= coding->consumed;
src += coding->consumed;
- dst +=
inserted_byte
;
+ dst +=
coding->produced
;
if (result == CODING_FINISH_NORMAL)
{